package com.xu.jz.dao;

import com.xu.jz.bean.RolePrivilege;
import com.xu.jz.bean.RolePrivilegeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePrivilegeMapper {
    
    long countByExample(RolePrivilegeExample example);

    
    int deleteByExample(RolePrivilegeExample example);

    
    int insert(RolePrivilege record);

    
    int insertSelective(RolePrivilege record);

    
    List<RolePrivilege> selectByExample(RolePrivilegeExample example);

    
    int updateByExampleSelective(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);

    
    int updateByExample(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);
}